

class CartGoods implements CartGoodsInterface{

  String  img;
  String  title;
  double  price;
  String  total;
  String  spec;
  String  num;
  bool isChecked;

  CartGoods({this.img, this.title, this.price, this.total, this.spec, this.num, this.isChecked});

}

abstract class CartGoodsInterface{
  String get img;
  String get title;
  double get price;
  String get total;
  String get spec;
  String get num;
  bool get isChecked;
}